import Request from '../js/request'
import apiUrl from '../js/apiUrl'

const API = new Request(apiUrl.friend)

export function FriendList (headers) {
  return API.headersGet('friend/list', headers)
  // return API.headersGet('friends', headers)
}
// headers里传token 和需要查询的 userId
export function UserDetail (headers) {
  return API.headersGet('friend/detail', headers)
}
